import { Scalar as l } from '../../nodes/Scalar.js';
const e = {
  identify: t => t == null,
  createNode: () => new l(null),
  default: !0,
  tag: 'tag:yaml.org,2002:null',
  test: /^(?:~|[Nn]ull|NULL)?$/,
  resolve: () => new l(null),
  stringify: ({ source: t }, n) =>
    typeof t == 'string' && e.test.test(t) ? t : n.options.nullStr,
};
export { e as nullTag };
